package eu.connect.jmswrapper;

public class ConnectJMSCallerProxyFactory {
	
	public static Object createJMSCallerProxy(String interfaceName) throws ClassNotFoundException, InstantiationException, IllegalAccessException{
		String s[]=interfaceName.split("\\.");
		Class<?> c = Class.forName("eu.connect.jmswrapper.callerproxies." + s[s.length - 1] + "JMSCallerProxy");
		return c.newInstance();
	}

}
